package com.iqiao.platform.model;

import com.iqiao.common.base.BaseModel;
import com.iqiao.platform.enums.MenuType;

/**
 * 菜单
 * Created by flt on 2017/11/15.
 */
public class Menu extends BaseModel {

    private String code; // 编号
    private String name; // 名称
    private Integer sort; // 顺序
    private Long parentId; // 上级
    private MenuType type; // 类型
    private String path; // 路径
    private String icon; // 图标

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public MenuType getType() {
        return type;
    }

    public void setType(MenuType type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
